<!--
 * @Author: chunlai
 * @Date: 2023-12-13 09:12:27
 * @LastEditTime: 2025-11-19 15:33:17
 * @LastEditors: minsheng_insurance_agency_zhoucl
 * @FilePath: \01.latest-short-insure\src\views\form\components\ocr\WarnMsg.vue
 * @Description: 证件弹窗拍摄提示
-->
<template>
  <div class="warn-tip" v-if="show">
    拍摄时请确保{{
      getLabel
    }}边框完整、字迹清晰、亮度均衡，必须为原件拍摄，否则后期质检不过
  </div>
</template>

<script>
export default {
  name: "WarnMsg",
  props: {
    ocrType: {
      type: String,
      default: () => "bank",
    },
  },
  components: {},
  data() {
    return {
      show: true,
    };
  },
  computed: {
    getLabel() {
      let res = "身份证件";
      if (this.ocrType == "bank") {
        res = "银行卡";
      }
      return res;
    },
  },
  watch: {},
  created() {},
  mounted() {},
  methods: {},
};
</script>
<style lang="less" scoped>
.warn-tip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  color: #e7a249;
  background: #fdfaf3;
}
</style>
